using IQIGame.Onigao.Game;
using IQIGame.Onigao.Logic;

namespace IQIGame.Onigao.GamePlay
{
    public class CFSMLevel_Logic_MonsterData : CFSMData
    {
        public LevelHeroEntity lockingEntity;
        /// <summary>
        /// 是否因为追击而离岗
        /// </summary>
        public bool isOutOfPost;
        public Vector3Logic chaseStartPos;
        public Vector3Logic? dirBeforeChase;
        public float alertValue;
        public bool isReturningToPost;

        public override void Clear()
        {
            lockingEntity = null;
            isOutOfPost = false;
            chaseStartPos = default;
            dirBeforeChase = null;
            alertValue = 0;
            isReturningToPost = false;
        }
    }
}
